//index.js
//获取应用实例
const app = getApp()
const Pager = require('components/aotoo/core')

// import tableList from '../../components/modules/tablelist'
import mock from './data';
// let mkModal = require('../../components/modules/modal')

const headData3 = [
  { title: '立案日期', key: 'sortTime', width: '180'},
  { title: '终本日期', key: 'closeDate', width: '180' },
  { title: '案号', key: 'caseNo' },
  { title: '案件状态', key: 'caseStateT', width: '180', formatter(row) {
    if (row.caseStateT === '执行中') {
      return '修改了执行中'
    }
    else{
      return '修改了xx'
    }
  }},
  { title: '执行金额', key: 'execMoney' },
  { title: '当事人名称', key: 'pname' }
]



Pager({
  data: {
    tableInst3: null,
  },
  onLoad() {
  },
  onReady() {
    this.setData({
      tableInst3: {
        headData: headData3,
        data: mock.fhZxggDtoList,
        tableClass: 'border auto mb-default',
      }
    })
  },
})